@import '../../style/index.scss';

.blog-detail {
  max-width: 735px;
  margin: 0 auto;
  padding: 0 15px;

  .blog-title {
    text-align: center;
    font-size: 26px;
    margin-top: 25px;
    font-weight: 800;
  }

  .blog-sub-title {
    text-align: center;
    font-size: 14px;
    margin-top: 25px;
    line-height: 2;
    border-bottom: 1px solid bisque;
    color: #ccc;
    
    .time {
      margin-right: 10px;
    }

    i {
      margin-right: 2px;
    }
  }

  .blog-content {
    margin-top: 20px;
    h2 {
      position: relative;
      font-weight: bolder;
      padding-left: 15px;
      margin: 30px 0 10px;
      &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: bisque;
      }
    }
    pre {
      background: #000000;
    }
  }
}